﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace MyFinanceManager.Controls
{
    public partial class FiringUserControl : UserControl
    {
        public FiringUserControl()
        {
            InitializeComponent();
        }

        public void FireNewValueAvailable(string value)
        {
            EventHandler<StringEventArg> temp = NewValueAvailable;
            if (temp != null)
            {
                temp(this, new StringEventArg(value));
            }
        }

        public event EventHandler<StringEventArg> NewValueAvailable;
    }
}
